package com.ymttest.common.entitie;

import java.lang.reflect.Field;

import com.ymttest.utils.DataUtil;

/**
 * 订单商品对应的活动信息
 */
public class OrderItemInfoExt {
	/**
	 * 活动Id
	 */
	private int ActivityId;
	/**
	 * 活动模版Id
	 */
	private int ActivityTemplateId;
	/**
	 * 是否可返红包或免运卡
	 */
	private boolean GiftAvail4Reward;

	public final boolean getGiftAvail4Reward() {
		return GiftAvail4Reward;
	}

	public final void setGiftAvail4Reward(boolean value) {
		GiftAvail4Reward = value;
	}

	public final int getActivityId() {
		return ActivityId;
	}

	public final void setActivityId(int value) {
		ActivityId = value;
	}

	public final int getActivityTemplateId() {
		return ActivityTemplateId;
	}

	public final void setActivityTemplateId(int value) {
		ActivityTemplateId = value;
	}
	
	public static void main(String[] args) {
		Class c = OrderItemInfoExt.class;
		for (Field f : c.getDeclaredFields()) {
			String s = f.getName();
			System.out.println("DataUtil.verify(expect.get"
					+ DataUtil.toUpperCaseFirstOne(s) + "(), actual.get"+DataUtil.toUpperCaseFirstOne(s)
					+ "(),\"\"验证OrderItemList.OrderItemId=[\" + oid + \"]的OrderItemInfoExt\";");
		}
	}
}